package com.shengyin.ec.model.dao.account;

import java.util.List;

import com.shengyin.ec.model.dao.BaseDao;
import com.shengyin.ec.model.entity.Personal;

import java.util.List;

public interface PersonalDao extends BaseDao<Personal> {

	public boolean checkUser(String username,String pwd);
	
	public List<Personal> getPersonalByUsername(String username);
	
	public List<Personal> getPersonalByUsername(String username,int offset,int pageSize);
	//add by wql 2012-3-20
	
    public Long getTotal();
    
    public List getPersonalList(int offset,int pageSize);
}
